package com.aplink.generic.pojo.controlspec;

import sdt.brc.android.BarcodeReader;

public class BarcodeSpec extends ControlSpec {
    private static final long serialVersionUID = 8463517521147609528L;
    private int barcodeType = BarcodeReader.SDTBARCODE_ALL_1D;
    private boolean isEnableFlashLight = false;
    private String mCtrlResult = null;
    private String mImagePath = null;

    public BarcodeSpec(final String ctrlResult, final String imagePath,
            final boolean isEnableFlashLight, final int barcodeType) {
        this.mCtrlResult = ctrlResult;
        this.mImagePath = imagePath;
        this.isEnableFlashLight = isEnableFlashLight;
        this.barcodeType = barcodeType;
    }

    public int getBarcodeType() {
        return this.barcodeType;
    }

    public String getCtrlResult() {
        return this.mCtrlResult;
    }

    public String getImagePath() {
        return this.mImagePath;
    }

    public boolean isEnableFlashLight() {
        return this.isEnableFlashLight;
    }

    public void setBarcodeType(final int barcodeType) {
        this.barcodeType = barcodeType;
    }

    public void setCtrlResult(final String ctrlResult) {
        this.mCtrlResult = ctrlResult;
    }

    public void setEnableFlashLight(final boolean isEnableFlashLight) {
        this.isEnableFlashLight = isEnableFlashLight;
    }

    public void setImagePath(final String imagePath) {
        this.mImagePath = imagePath;
    }
}
